package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingLevel;
import com.zzyl.vo.NursingLevelVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingLevelMapper {
    List<NursingLevelVo> listAll();
    void insert(NursingLevel nursingLevel);
    Page<NursingLevelVo> getNursingLevel(String name, Integer status);
    NursingLevelVo  getNursingLevelById(Long id);
    void updateNursingLevel(NursingLevel nursingLevel);
   void deleteNursingLevel(Long id);
   void  updateStatus(Long id,Integer status);
}
